<!DOCTYPE html>
<html>
<head>
    <title>欢迎使用超市订单管理系统</title>
    <base href="<%=request.getContextPath()%>/">
    <link rel="stylesheet" href="webjars/layui/2.8.12/css/layui.css">
</head>
<body style="background:#eee">
<div class="layui-container" style="display: flex;flex-direction: column;justify-content: center">
<div class="layui-card" style="width: 70%;margin:0 auto; margin-top: 100px">
    <div class="layui-card-header"><h3>欢迎使用超市订单管理系统</h3></div>
    <div class="layui-card-body">
          <form method="post" action="login" class="layui-form" lay-filter="login" style="padding:30px">
              <c:if test="${not empty loginErr}">
                  <div class="layui-form-item">
                      <label class="layui-form-label"></label>
                      <div class="layui-input-block" style="color:red">
                          ${loginErr}
                      </div>
                  </div>
              </c:if>
              <div class="layui-form-item">
                  <label class="layui-form-label">登录名称:</label>
                  <div class="layui-input-block">
                      <input type="text" name="userCode"   class="layui-input">
                  </div>
              </div>
              <div class="layui-form-item">
                  <label class="layui-form-label">用户密码:</label>
                  <div class="layui-input-block">
                      <input type="text" name="password"   class="layui-input">
                  </div>
              </div>
              <div class="layui-form-item">
                    <label class="layui-form-label"></label>
                     <div class="layui-input-block">
                         <button class="layui-btn" style="width: 200px">登&emsp;录</button>
                     </div>
              </div>
          </form>
    </div>
</div>
</div>
</body>
</html>
